package ModelLayer;


/**
 * Write a description of class Contractor here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
   public class Contractor extends Customer
{
    private long CVR;
    
    public Contractor(int id, String firstName, String lastName, String bankAccount, String email, String phone, String address, String city, String regDate, int nrPurchases, long CVR)
    {
        super(id, firstName, lastName, bankAccount, email, phone, address, city, regDate, nrPurchases);
        this.CVR = CVR;
    }
    
    public void setCVR(long inCVR)
    {
        CVR = inCVR;
    } 
    
    public long getCVR()
    {
        return CVR;
    }
}
    
   
